OM_OMN_HOME = $(top_srcdir)/test
OM_GEN_HOME = $(top_srcdir)/test
INCLUDES = -I$(top_srcdir)/src/libs/ -I$(OM_OMN_HOME)/src -I$(OM_GEN_HOME)/src
#noinst_LIBRARIES = libom_unix.a
#libom_unix_a_SOURCES = OmSession.cc
noinst_PROGRAMS = test
test_SOURCES = test.cc
test_LDFLAGS = -L$(OM_OMN_HOME)/bin
test_LDADD = $(top_builddir)/src/libs/protocols/om/unix/libom_unix.a -lrt

$(top_builddir)/src/libs/protocols/om/unix/libom_unix.a:
	(cd $(top_builddir)/src/libs/protocols/om/unix && $(MAKE) $(AM_MAKEFLAGS) libom_unix.a)  
